Generic Functions

Generic functions are functions that exist for multiple Data Types.
Data Types:

Examples:
getCharacterData("c0", "extra", "key") -> CharacterData > CharacterKey
addPlayerData("skill", "strength", 5)
setRD("base_currency", "extra", "name", "")

getAll[Generic]s()

Returns the [Generic] Keys of all [Generic]s.

getAll[Generic]sByFile(Identifier Type > String)

Returns the [Generic] Keys of all [Generic]s that inherit from the given FileData.

get[Generic]DataKeys([Generic] Key, Data Identifier)

Returns the all variable names of the Data type given.

get[Generic]Data([Generic] Key, Data Identifier, Variable Name)

Returns the variable of the [Generic] data as a Type > String.

get[Generic]Data_i([Generic] Key, Data Identifier, Variable Name)

Returns the variable of the [Generic] data as a Type > Integer.

get[Generic]Data_f([Generic] Key, Data Identifier, Variable Name)

Returns the variable of the [Generic] data as a Type > Float.

get[Generic]Data_s([Generic] Key, Data Identifier, Variable Name)

Returns the variable of the [Generic] data as a Type > String.

set[Generic]Data([Generic] Key, Data Identifier, Variable Name, Value)

Sets the variable of the [Generic] data.

add[Generic]Data([Generic] Key, Data Identifier, Variable Name, Value)

Adds the value to the current value. Not available for: Features, Outfits and Activities.

remove[Generic]Data([Generic] Key, Data Identifier, Variable Name)

Remove the variable of the [Generic] data.

has[Generic]Data([Generic] Key, Data Identifier, Variable Name)

Returns true if the data has the given key, else returns false.